public class CiscoMediaCapability
extends java.lang.Object
The CiscoMediaCapability
object specifies the properties of a particular media
format that an application can support for CiscoMediaTerminals
that it registers.
Because CiscoMediaCapability
is an abstract class, applications may only construct
its subclasses directly.
Modifier and Type | Field and Description |
---|---|
static CiscoMediaCapability |
G711_64K_30_MILLISECONDS
G.711 capability with default parameters
|
static CiscoMediaCapability |
G723_6K_30_MILLISECONDS
G.723 capability with default parameters
|
static CiscoMediaCapability |
G729_30_MILLISECONDS
G.729 capability with default parameters
|
static CiscoMediaCapability |
GSM_80_MILLISECONDS
GSM capability with default parameters
|
static CiscoMediaCapability |
ISAC
ISAC Capability with default parameters
|
static CiscoMediaCapability |
WIDEBAND_256K_10_MILLISECONDS
Wideband capability with default parameters
|
Constructor and Description |
---|
CiscoMediaCapability(int payloadType,
int maxFramesPerPacket)
Constructs a
CiscoMediaCapability object for the specified payload type and
packet size (in milliseconds). |
Modifier and Type | Method and Description |
---|---|
int |
getMaxFramesPerPacket()
Returns the packet size (in milliseconds) that this object specifies.
|
int |
getPayloadType()
Returns the payload type that this object specifies.
|
boolean |
isSupported()
Returns whether the payload of this object is supported or not.
|
java.lang.String |
toString() |
public static final CiscoMediaCapability G711_64K_30_MILLISECONDS
CiscoG711MediaCapability
public static final CiscoMediaCapability G723_6K_30_MILLISECONDS
CiscoG723MediaCapability
public static final CiscoMediaCapability G729_30_MILLISECONDS
CiscoG729MediaCapability
public static final CiscoMediaCapability ISAC
CiscoIsacMediaCapability
public static final CiscoMediaCapability GSM_80_MILLISECONDS
CiscoGSMMediaCapability
public static final CiscoMediaCapability WIDEBAND_256K_10_MILLISECONDS
CiscoWideBandMediaCapability
public CiscoMediaCapability(int payloadType, int maxFramesPerPacket)
CiscoMediaCapability
object for the specified payload type and
packet size (in milliseconds).public int getPayloadType()
RTPPayload
interfacepublic int getMaxFramesPerPacket()
The maxFramesPerPacket parameter is a carryover from the H.245 protocol definition. Unified CM does not use this field as the number of frames per RTP packet, but rather as the number of milliseconds of audio per RTP packet that the device can receive. Third-party IP phones may utilize different (higher) rates even though these rates may not be exceeded to and or from Cisco Unified IP phones.
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isSupported()